#!/usr/bin/env python
# -*- coding: UTF-8 -*-
############################################################
## Author:
##    Benjamin Chan <italkbenjamin@gmail.com>
##    http://www.3vtea.com
##
##    File:                    1-12.py
##    Create Date:      2015-02-10 14:49
############################################################
"""
j = int(input('Enter an integer: ')) + 1
sum = 0
for i in range (1,j):
    sum+=i
print(sum)
print(i)
"""
while True:
    s = (input('Enter something : '))
    if s == 'quit' or s == 'exit':
        break
    print('Length of the string is', len(s))
print('Done')
